import Vuex from 'vuex'
import Vue from 'vue'
import test from './modules/test'
import tabbar from './modules/tabbar'
import modal from './modules/modal'
import app from './modules/app'
import login from './modules/login'
import cache from './modules/cache'
import inWork from './modules/in-work'
import outWork from './modules/out-work'
import inventory from './modules/inventory'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    m1: test,
    tabbar,
    modal,
    app,
    login,
    cache,
    inWork,
    outWork,
    inventory,
  },
})

export default store
